<template>
  <div id="content">
    <img :src="imgname" alt="" />
    <span>{{ name }}</span>
    <div>
      <span>￥<span>{{ price }}</span></span>
      <span>{{ paynumer }}人付款</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ClotheList',
  props: ['name', 'price', 'paynumer', 'imgname'],
}
</script>

<style lang="scss" scoped>
#content {
  width: 158px;
  height: 190px;
  border-radius: 20px;
  font-family: '黑体';
  // text-align: center;
  box-shadow: 0 2px 4px 0 rgba(219, 218, 218, 0.2),
    0 6px 20px 0 rgba(226, 223, 223, 0.19);

  >img {
    width: 158px;
    height: 130px;
    border-radius: 10px 10px 0 0;
  }

  >span {
    font-size: 13px;
  }

  >div {
    >span:first-child {
      color: #ca2222;
      font-size: 16px;

      span {
        font-weight: bold;
      }
    }

    >span:last-child {
      color: #999999;
      font-size: 14px;
      margin-left: 10px;
    }
  }

}
</style>
